package com.feature50.app;

import com.feature50.clarity.FormContainer;
import com.feature50.app.forms.TestForm;
import com.feature50.app.forms.BindingForm;

import javax.swing.JFrame;
import javax.swing.JComponent;
import javax.swing.SwingUtilities;

public class Bootstrap {
    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                JFrame frame = new JFrame("Demo App");

                FormContainer container = new FormContainer((JComponent) frame.getContentPane(), frame);
                //container.show(new TestForm());
                container.show(new BindingForm());

                frame.setSize(800, 600);
                frame.setLocationRelativeTo(null);
                frame.setVisible(true);
            }
        });
    }
}
